﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AAA.Meta.Quote;
using AAA.Meta.Quote.Data;

namespace AAA.TradeLanguage
{
    public interface IFunction : IFunctionMeta
    {
        string BaseSymbolId { get; set; }
        BarCompression DataCompression { get; }
        void SetCurrentTime(CurrentTime currentTime);

        BarRecord ExecCalculate();
        BarRecord Calculate();
        BarRecord Calculate(string strName);
    }
}
